package com.kk.miaosha;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author : K k
 * @date : 11:22 2020/10/13
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.kk","com.kk.miaosha.config"})
@EnableTransactionManagement
@EnableAspectJAutoProxy //开启AOP事务
public class UcenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(UcenterApplication.class,args);
    }
}
